/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* calendar global styles */
:global { // DX-11429 TODO reafactor component to use css modules instead fo global classes
    
  .rdr-DateRange{
    .rdr-Calendar{
      .today{
        font-weight: 500;
        color: black!important;
      }
      .rdr-MonthAndYear{
        .rdr-MonthAndYear-month{
          margin: 0 5px 0 0;
        }
        .rdr-MonthAndYear-divider {
          display: none;
        }
      }
      .is-inRange:hover {
        background-color: #B3B3B3!important;
      }
      .is-passive{
        opacity: 1 !important;
        text-indent: -9999px!important;
        border-bottom: 1px solid rgba(0,0,0,.1) !important;
        background-color: #FFF!important;
      }
    }
    .rdr-Calendar:nth-child(1) {
      .rdr-MonthAndYear{
        .next{
          display: none!important;
        }
      }
      margin-right: 3px;
      padding-right: 1px!important;
    }
    .rdr-Calendar:nth-child(2) {
      .rdr-MonthAndYear{
        .next{
          display: none!important;
        }
        .prev{
          display: none!important;
        }
      }
      margin-right: 3px;
      padding-right: 1px!important;
    }
    .rdr-Calendar:nth-child(3) {
      .rdr-MonthAndYear{
        .prev{
          display: none!important;
        }
      }
    }
  }
}